package com.hkts.reportform.purchase.dao;

import java.util.List;
import java.util.Map;

/**
 * @ClassNamePurchaseDao
 * @Description
 * @Author yck
 * @Date2020-11-17 10:35
 * @Version V1.0
 **/
public interface PurchaseDao {

    //存货档案
    List<Map<String,Object>> selectInventoryByNameOrCode(String nameOrCode);
    //存货档案分页
    List<Map<String,Object>> selectPageInventoryByNameOrCode(String nameOrCode,String firstRow,String lastRow);
    //根据存货编码查现存量
    List<Map<String,Object>> selectCurrentstockByCode(String code);
    //采购价格趋势
    List<Map<String,Object>> inventoryPriceByCode(String code);

    List<Map<String, Object>> getOrderCountByDate(String s, String s1);
    //查询符合条件的总条数
    List<Map<String, Object>> getCountOrderExecution(String beginDate, String endDate);
    //根据条件内容查找分页内容
    List<Map<String, Object>> getPageOrderExecution(String beginDate, String endDate,String firstRow,String lastRow,String order);
    //在采购订单子表关联存货档案表查询相关存货名称
    List<Map<String, Object>> getCInvNameByPoid(String poid);
}
